import {asyncAction} from 'shared/utils/actionUtil';
import * as actionTypes from '../consts';
import API from '../api';

// export const getLoginInfo = () => asyncAction({
//   type: actionTypes.LOGIN_INFO,
//   payload: API.getLoginInfo(),
// });


export const getLoginInfo = () => asyncAction({
  type: actionTypes.LOGIN_INFO,
  payload: {body: {id: 1, name: '测试用户'}},
});
